package com.tedu._05article.pojo.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class UserArticleParam {
    @NotBlank(message = "标题不能为空")
    private String title;
    @Size(min = 10,max=500,message = "内容长度为10-500")
    private String content;
}
